package org.ehe.business.engineer.domain;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.ehe.common.mybatis.core.domain.BaseEntity2;

import java.math.BigDecimal;
import java.time.LocalDate;

/**
 * @author :zhangnn
 * @className :LevelChangeRecordEntity
 * @description: 职级变更记录实体类
 * @date 2025-07-16 10:40:58
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("t_level_change_record")
public class LevelChangeRecordEntity extends BaseEntity2 {
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @TableField("engineer_id")
    private Long engineerId;

    @TableField("old_level")
    private String oldLevel;

    @TableField("new_level")
    private String newLevel;

    @TableField("old_salary")
    private BigDecimal oldSalary;

    @TableField("new_salary")
    private BigDecimal newSalary;

    @TableField("change_type")
    private String changeType;

    @TableField("change_reason")
    private String changeReason;

    @TableField("trigger_project_id")
    private Long triggerProjectId;

    @TableField("quarter")
    private String quarter;

    @TableField("quarterly_score")
    private BigDecimal quarterlyScore;

    @TableField("change_date")
    private LocalDate changeDate;

    @TableField("effective_date")
    private LocalDate effectiveDate;

}
